package com.nw.serviceImpl;

import com.nw.service.TestService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
@Component
public class TestServiceImpl implements TestService {
    //@Scheduled(initialDelay=10000,fixedDelay = 5000)
    @Override
    public String test() {
        System.out.println("test000");
        return "test000";
    }
}
